package com.novel.common.event;

import com.novel.pojo.novel.NovelComment;
import org.springframework.context.ApplicationEvent;

public class DeleteCommentEvent extends ApplicationEvent {

    private NovelComment novelComment;


    public DeleteCommentEvent(Object source) {
        super(source);
    }

    public DeleteCommentEvent(Object source, NovelComment novelComment) {
        super(source);
        this.novelComment = novelComment;
    }

    public NovelComment getNovelComment() {
        return novelComment;
    }

}